[theme-mode=dark] pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em;
}
[theme-mode=dark] code.hljs {
  padding: 3px 5px;
}
[theme-mode=dark] .hljs {
  color: #abb2bf;
  background: #282c34;
}
[theme-mode=dark] .hljs-keyword,
[theme-mode=dark] .hljs-operator,
[theme-mode=dark] .hljs-pattern-match {
  color: #f92672;
}
[theme-mode=dark] .hljs-function,
[theme-mode=dark] .hljs-pattern-match .hljs-constructor {
  color: #61aeee;
}
[theme-mode=dark] .hljs-function .hljs-params {
  color: #a6e22e;
}
[theme-mode=dark] .hljs-function .hljs-params .hljs-typing {
  color: #fd971f;
}
[theme-mode=dark] .hljs-module-access .hljs-module {
  color: #7e57c2;
}
[theme-mode=dark] .hljs-constructor {
  color: #e2b93d;
}
[theme-mode=dark] .hljs-constructor .hljs-string {
  color: #9ccc65;
}
[theme-mode=dark] .hljs-comment,
[theme-mode=dark] .hljs-quote {
  color: #b18eb1;
  font-style: italic;
}
[theme-mode=dark] .hljs-doctag,
[theme-mode=dark] .hljs-formula {
  color: #c678dd;
}
[theme-mode=dark] .hljs-deletion,
[theme-mode=dark] .hljs-name,
[theme-mode=dark] .hljs-section,
[theme-mode=dark] .hljs-selector-tag,
[theme-mode=dark] .hljs-subst {
  color: #e06c75;
}
[theme-mode=dark] .hljs-literal {
  color: #56b6c2;
}
[theme-mode=dark] .hljs-addition,
[theme-mode=dark] .hljs-attribute,
[theme-mode=dark] .hljs-meta .hljs-string,
[theme-mode=dark] .hljs-regexp,
[theme-mode=dark] .hljs-string {
  color: #98c379;
}
[theme-mode=dark] .hljs-built_in,
[theme-mode=dark] .hljs-class .hljs-title,
[theme-mode=dark] .hljs-title.class_ {
  color: #e6c07b;
}
[theme-mode=dark] .hljs-attr,
[theme-mode=dark] .hljs-number,
[theme-mode=dark] .hljs-selector-attr,
[theme-mode=dark] .hljs-selector-class,
[theme-mode=dark] .hljs-selector-pseudo,
[theme-mode=dark] .hljs-template-variable,
[theme-mode=dark] .hljs-type,
[theme-mode=dark] .hljs-variable {
  color: #d19a66;
}
[theme-mode=dark] .hljs-bullet,
[theme-mode=dark] .hljs-link,
[theme-mode=dark] .hljs-meta,
[theme-mode=dark] .hljs-selector-id,
[theme-mode=dark] .hljs-symbol,
[theme-mode=dark] .hljs-title {
  color: #61aeee;
}
[theme-mode=dark] .hljs-emphasis {
  font-style: italic;
}
[theme-mode=dark] .hljs-strong {
  font-weight: 700;
}
[theme-mode=dark] .hljs-link {
  text-decoration: underline;
}
[theme-mode=light] pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em;
}
[theme-mode=light] code.hljs {
  padding: 3px 5px;
}
[theme-mode=light] .hljs {
  color: #383a42;
  background: #fafafa;
}
[theme-mode=light] .hljs-comment,
[theme-mode=light] .hljs-quote {
  color: #a0a1a7;
  font-style: italic;
}
[theme-mode=light] .hljs-doctag,
[theme-mode=light] .hljs-formula,
[theme-mode=light] .hljs-keyword {
  color: #a626a4;
}
[theme-mode=light] .hljs-deletion,
[theme-mode=light] .hljs-name,
[theme-mode=light] .hljs-section,
[theme-mode=light] .hljs-selector-tag,
[theme-mode=light] .hljs-subst {
  color: #e45649;
}
[theme-mode=light] .hljs-literal {
  color: #0184bb;
}
[theme-mode=light] .hljs-addition,
[theme-mode=light] .hljs-attribute,
[theme-mode=light] .hljs-meta .hljs-string,
[theme-mode=light] .hljs-regexp,
[theme-mode=light] .hljs-string {
  color: #50a14f;
}
[theme-mode=light] .hljs-attr,
[theme-mode=light] .hljs-number,
[theme-mode=light] .hljs-selector-attr,
[theme-mode=light] .hljs-selector-class,
[theme-mode=light] .hljs-selector-pseudo,
[theme-mode=light] .hljs-template-variable,
[theme-mode=light] .hljs-type,
[theme-mode=light] .hljs-variable {
  color: #986801;
}
[theme-mode=light] .hljs-bullet,
[theme-mode=light] .hljs-link,
[theme-mode=light] .hljs-meta,
[theme-mode=light] .hljs-selector-id,
[theme-mode=light] .hljs-symbol,
[theme-mode=light] .hljs-title {
  color: #4078f2;
}
[theme-mode=light] .hljs-built_in,
[theme-mode=light] .hljs-class .hljs-title,
[theme-mode=light] .hljs-title.class_ {
  color: #c18401;
}
[theme-mode=light] .hljs-emphasis {
  font-style: italic;
}
[theme-mode=light] .hljs-strong {
  font-weight: 700;
}
[theme-mode=light] .hljs-link {
  text-decoration: underline;
}
:root {
  --dark-background: url(https://ak.hypergryph.com/assets/index/images/ak/pc/bk.jpg);
  --light-background: url(/img/bk.jpg);
  --dark-cursor: url("");
  --light-cursor: url("");
}
[theme-mode=light] .footer-link a:not(:hover),
[theme-mode=light] .navItemTitle,
[theme-mode=light] aside footer {
  text-shadow: 0 0 15px #fff, 0 0 15px #fff, 0 0 15px #fff, 0 0 15px #fff;
}
[theme-mode=light] .navItemTitle,
[theme-mode=light] aside footer {
  font-weight: bold;
}
[theme-mode=light] :where(.recent-post,
[theme-mode=light] #paginator a) {
  background-color: rgba(255,255,255,0.267);
}
[theme-mode=light] aside a img:hover {
  background-color: var(--theme-bg-soft);
}
[theme-mode=light] #Archives,
[theme-mode=light] #Categories,
[theme-mode=light] #Tags {
  background-color: var(--theme-bg-soft);
}
[theme-mode=light] #Archives:hover,
[theme-mode=light] #Categories:hover,
[theme-mode=light] #Tags:hover {
  background-color: var(--theme-bg-soft-hover);
}
[theme-mode=light] #color-mode:hover::after {
  transform: rotate(-90deg);
}
[theme-mode=light] #color-mode::after {
  transform: rotate(-180deg);
  animation: clockwise 0.3s;
}
@-moz-keyframes clockwise {
  0% {
    transform: rotate(-270deg);
  }
  100% {
    transform: rotate(-180deg);
  }
}
@-webkit-keyframes clockwise {
  0% {
    transform: rotate(-270deg);
  }
  100% {
    transform: rotate(-180deg);
  }
}
@-o-keyframes clockwise {
  0% {
    transform: rotate(-270deg);
  }
  100% {
    transform: rotate(-180deg);
  }
}
@keyframes clockwise {
  0% {
    transform: rotate(-270deg);
  }
  100% {
    transform: rotate(-180deg);
  }
}
[theme-mode=dark] #color-mode:hover::after {
  filter: invert(1);
}
#post-bg,
h1,
h2,
h3,
h4,
h5,
h6 {
  transition: 1s;
}
@property --theme-bg-trans1 {
  syntax: '<color>';
  inherits: true;
  initial-value: #fff;
}
#aside-block {
  transition: --theme-bg-trans1 1s;
}
:root[theme-mode=dark] {
  --cursor-data: var(--dark-cursor);
  --body-background: var(--dark-background);
  --theme-highlight: #2bf;
  --theme-subcolor: #fe2;
  --theme-stress: #c0392b;
  --theme-bar-color-0: #fe2;
  --theme-bar-color-1: rgba(255,238,34,0.667);
  --theme-bar-color-2: rgba(255,238,34,0.267);
  --theme-bar-color-3: rgba(255,238,34,0.133);
  --theme-kbd-shadow: #ba2;
  --theme-kbd-text: #000;
  --theme-cursor: #ccc;
  --theme-cursor-bg: rgba(255,255,255,0.533);
  --theme-text-hover: #000;
  --theme-text: #c4c4c4;
  --theme-text-light: #fff;
  --theme-text-rev: #000;
  --theme-background: #141516;
  --theme-bg-trans0: rgba(20,21,22,0.95);
  --theme-bg-trans1: rgba(20,21,22,0.8);
  --theme-bg-hover: #000;
  --theme-bg-light: #fff;
  --theme-bg-soft: rgba(255,255,255,0.05);
  --theme-bg-soft-hover: rgba(255,255,255,0.1);
  --theme-code-header: rgba(255,255,255,0.2);
  --theme-btn-bg: #d4d8dd;
  --theme-border: #fe2;
  --theme-border-light: #fff;
  --theme-border-soft: rgba(255,255,255,0.1);
  --theme-unimportant: #898989;
  --theme-unimportant-trans: rgba(137,137,137,0.4);
  --theme-unimportant-2: #535353;
  --theme-td-border: #2bf;
  --theme-td-hover: rgba(34,187,255,0.1);
  --theme-tag-bg: #313131;
  --theme-tag-count-bg: #494949;
  --theme-tag-border: #313131;
  --theme-loadingbar: #fff;
}
:root[theme-mode=light] {
  --cursor-data: var(--light-cursor);
  --body-background: var(--light-background);
  --theme-highlight: #2bf;
  --theme-subcolor: #fe2;
  --theme-stress: #c0392b;
  --theme-bar-color-0: #fe2;
  --theme-bar-color-1: rgba(255,238,34,0.733);
  --theme-bar-color-2: rgba(255,238,34,0.533);
  --theme-bar-color-3: rgba(255,238,34,0.333);
  --theme-kbd-shadow: #ba2;
  --theme-kbd-text: #000;
  --theme-cursor: #333;
  --theme-cursor-bg: rgba(0,0,0,0.267);
  --theme-text-hover: #000;
  --theme-text: #222;
  --theme-text-light: #000;
  --theme-text-rev: #fff;
  --theme-background: #f4f5f6;
  --theme-bg-trans0: rgba(244,245,246,0.95);
  --theme-bg-trans1: rgba(244,245,246,0.5);
  --theme-bg-hover: #fff;
  --theme-bg-light: #000;
  --theme-bg-soft: rgba(255,255,255,0.3);
  --theme-bg-soft-hover: rgba(255,255,255,0.6);
  --theme-code-header: #c0c0c0;
  --theme-btn-bg: #2a272d;
  --theme-border: #fe2;
  --theme-border-light: #000;
  --theme-border-soft: rgba(0,0,0,0.1);
  --theme-unimportant: #767676;
  --theme-unimportant-trans: rgba(118,118,118,0.4);
  --theme-unimportant-2: #acacac;
  --theme-td-border: #2bf;
  --theme-td-hover: rgba(34,187,255,0.1);
  --theme-tag-bg: #cecece;
  --theme-tag-count-bg: #bababa;
  --theme-tag-border: #cecece;
  --theme-loadingbar: #fff;
}
aside {
  scrollbar-width: none;
  height: 100vh;
  position: sticky;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content: stretch;
  overflow-y: auto;
  overflow-x: hidden;
  color: var(--theme-text-light);
  padding: 0 20px;
}
aside::-webkit-scrollbar {
  display: none;
}
aside::-ms-scrollbar {
  display: none;
}
aside h1 {
  transition: 0.6s;
  font-family: BenderLight, sans-serif;
  margin-top: 0;
}
aside footer {
  color: var(--theme-unimportant);
  padding: 0 3px 30px 3px;
  font-family: BenderLight;
}
#logo {
  user-select: none;
  width: 100%;
  height: 5px;
  display: inline-block;
  margin-bottom: 100%;
  padding: 0;
}
#logo img {
  width: 100%;
}
#Dr {
  text-align: center;
}
#Dr a {
  color: var(--theme-text-light);
}
#total {
  font-family: BenderLight;
}
#total div {
  display: inline-block;
}
#total-archives {
  color: var(--theme-text-light);
  box-sizing: border-box;
  width: 100%;
  border-left: 5px solid var(--theme-border-light);
  padding: 0 0 0 10px;
  display: inline-block;
  transition: 0.3s;
}
#total-archives .total-title {
  font-size: 23px;
  display: block;
}
#total-archives .total-number {
  font-weight: bolder;
  font-size: 52px;
  padding: 0 10px;
  transition: 0.3s;
}
@media (min-width: 769px) {
  #total-archives:hover {
    border-color: var(--theme-highlight);
    background-color: var(--theme-bg-soft-hover);
  }
  #total-archives:hover .total-number {
    color: var(--theme-highlight);
  }
}
#total-tags,
#total-categories {
  margin: 15px 0 0 15px;
}
#aside-block {
  flex-grow: 2;
  margin-top: 10px;
}
#aside-block #total-archives .total-number {
  letter-spacing: 2px;
}
#aside-block #toc-div {
  background: linear-gradient(var(--theme-bg-trans1), transparent);
}
@media (min-width: 769px) {
  #aside-block #toc-div:hover h1 {
    background-color: var(--theme-highlight);
  }
}
#aside-block h1 {
  color: var(--theme-text-rev);
  background-color: var(--theme-text-light);
  margin: 0;
  padding: 0 10px;
  font-size: medium;
}
#description p {
  margin: unset;
  text-align: center;
}
html,
body,
label {
  cursor: var(--cursor-data) 3 3, default;
}
html,
body {
  position: static;
}
#cursor-outer {
  z-index: 65536;
  position: fixed;
  transform: translate3d(-50%, -50%, 0px);
  height: 36px;
  width: 36px;
  border: 1px solid var(--theme-cursor);
  border-radius: 50%;
  pointer-events: none;
  transition: background-color 0.3s, width 0.3s, height 0.3s;
}
#cursor-effect {
  z-index: 65535;
  position: fixed;
  transform: translate3d(-50%, -50%, 0px) scale(0);
  height: 80px;
  width: 80px;
  border: 4px solid var(--theme-cursor);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 769px) {
  main {
    -ms-scrollbar-base-color: var(--theme-bar-color-2);
    -ms-scrollbar-track-color: var(--theme-bar-color-3);
    scrollbar-color: var(--theme-bar-color-0) var(--theme-bar-color-2);
    scrollbar-width: thin;
    scrollbar-gutter: stable;
  }
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  ::-webkit-scrollbar-thumb {
    background-color: var(--theme-bar-color-2);
    border-radius: 0.25em;
  }
  ::-webkit-scrollbar-track {
    background-color: var(--theme-bar-color-3);
  }
  ::-webkit-scrollbar-thumb:hover {
    background-color: var(--theme-bar-color-1);
  }
  ::-webkit-scrollbar-thumb:window-inactive {
    background-color: var(--theme-bar-color-3);
  }
}
body {
  margin: 0;
  color: var(--theme-text);
  background-image: var(--body-background);
  background-color: var(--theme-background);
  background-attachment: fixed;
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "JetBrains Mono", 'Microsoft YaHei', '\5b8b\4f53', sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--theme-text-light);
  margin-block-start: 0.33em;
  margin-block-end: 0.23em;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
}
p {
  overflow: visible;
}
a {
  text-decoration: none;
}
a,
:is(strong,
em)>a {
  color: var(--theme-highlight);
  padding: 0 3px;
  transition: color 0.3s, background-color 0.3s, line-height 0.3s, padding 0.3s, border 0.3s, opacity 0.3s;
}
@media (min-width: 769px) {
  a:hover,
  :is(strong:hover,
  em)>a:hover {
    color: var(--theme-text-hover);
    background-color: var(--theme-highlight);
  }
  a:active,
  :is(strong:active,
  em)>a:active {
    color: var(--theme-text-hover);
    background-color: var(--theme-subcolor);
  }
}
button {
  background: var(--theme-bg-soft);
  color: var(--theme-text-light);
  font-family: "JetBrains Mono";
  border: unset;
}
time {
  font-family: BenderLight;
}
code,
pre {
  font-family: "JetBrains Mono";
}
code {
  margin: 0 !important;
  background-color: var(--theme-bg-soft-hover);
  padding: 0 3px !important;
}
pre {
  margin: 6px 0;
  background-color: transparent;
}
kbd {
  color: var(--theme-kbd-text);
  background-color: var(--theme-subcolor);
  box-shadow: 0 0.12em var(--theme-kbd-shadow);
  margin: 0 2px;
  border-radius: 2px;
  padding: 0 3px;
  font-family: "JetBrains Mono";
}
em {
  font-family: Times, "Times New Roman", 'FangSong', 'SimSun', serif;
}
strong em,
em strong {
  font-family: "JetBrains Mono", 'Microsoft YaHei', '\5b8b\4f53', sans-serif;
}
:not(a)>:is(strong,
em) {
  color: var(--theme-light);
}
:not(a)>:is(strong em,
em strong) {
  color: var(--theme-stress);
}
blockquote {
  border-left: var(--theme-highlight) solid 5px;
  padding: 3px 20px;
  background-color: var(--theme-bg-soft);
  transition: 0.3s;
}
blockquote blockquote {
  margin: 0;
  padding-right: 0;
}
blockquote:hover {
  background-color: var(--theme-bg-soft-hover);
}
ol {
  overflow: auto;
}
li {
  margin-block-start: 0.2em;
  margin-block-end: 0.2em;
}
li blockquote {
  margin: 0;
  padding-right: 0;
}
table {
  border: 0;
  border-collapse: collapse;
}
table th {
  color: var(--theme-text-rev);
  background-color: var(--theme-bg-light);
  border: var(--theme-border-light) solid 1px;
  padding: 0 10px;
}
table td {
  padding: 0px 8px;
  border: var(--theme-td-border) solid 1px;
}
table td:hover {
  background-color: var(--theme-td-hover);
}
figure:not(.highlight),
figcaption {
  text-align: center;
}
figcaption {
  font-style: italic;
}
a,
button,
input,
textarea {
  cursor: var(--cursor) 3 3, pointer;
}
input {
  cursor: var(--cursor) 3 3, text;
  user-select: none;
  font-family: "JetBrains Mono", 'Microsoft YaHei', '\5b8b\4f53', sans-serif;
}
.bottom-btn {
  position: sticky;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
@media (max-width: 768px) {
  .bottom-btn {
    position: fixed;
    left: 0;
    width: 100vw;
  }
}
.bottom-btn div {
  position: absolute;
  right: 8px;
  bottom: 8px;
}
.bottom-btn a {
  overflow: hidden;
  display: block;
  right: 0;
  width: 40px;
  height: 40px;
  transition: 0.3s, 0 visibility;
  color: var(--theme-text-light);
  line-height: 40px;
  text-align: center;
  font-size: 40px;
  font-weight: 900;
  padding: 0;
  user-select: none;
}
@media (min-width: 769px) {
  .bottom-btn a:hover {
    color: var(--theme-text-hover);
    line-height: 30px;
    background-color: var(--theme-subcolor);
  }
}
#color-mode {
  display: flex;
}
@media (min-width: 769px) {
  #color-mode:hover {
    line-height: 40px;
  }
  #color-mode:hover::after {
    transform: rotate(90deg);
  }
}
#color-mode::after {
  margin: auto;
  content: '';
  height: 16px;
  width: 16px;
  display: block;
  display: inline-block;
  border: 4px solid var(--theme-bg-light);
  border-radius: 50%;
  background: linear-gradient(45deg, transparent 10px, var(--theme-bg-light) 12px, var(--theme-bg-light));
  transition: transform 0.3s, filter 0.3s;
}
.text-title,
.text-content {
  color: #000;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  font-size: small;
  font-family: sans-serif;
  display: inline-block;
}
.text-title {
  background-color: var(--theme-highlight);
}
.text-content {
  margin: 0 10px 0 0;
  padding: 0 28px 0 5px;
  background-color: #fff;
}
.gutter pre {
  margin: 6px 0;
  padding-top: 5px;
}
.code pre {
  margin: 6px 0;
}
.hljs span {
  line-height: 0;
}
.code-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
}
.code-icon::before {
  content: '>';
  margin: 5px;
}
.highlight.open .code-box {
  transition: 0.5s cubic-bezier(0.5, 0, 1, 0);
  max-height: 10000px;
}
.highlight.open .code-header .code-space {
  display: none;
}
.highlight.open .code-header .code-icon {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}
.highlight.fold .code-box {
  transition: 0.5s cubic-bezier(0, 1, 0, 1) -0.1s;
  max-height: 0;
}
.highlight.fold .code-header .code-copy {
  display: none;
}
.highlight.fold .code-header .code-icon {
  transition: transform 0.2s ease;
}
.highlight {
  margin: 1em 10px;
  overflow-x: hidden;
}
.code-box {
  overflow-y: hidden;
  max-height: 0;
}
.code-header {
  user-select: none;
  background-color: var(--theme-code-header);
  display: flex;
  justify-content: space-between;
}
.code-header:focus-visible {
  outline: #fff auto 1px;
}
.code-header .code-title {
  pointer-events: none;
  color: var(--theme-text-light);
  margin: 7px 8px;
}
.code-header-tail {
  align-self: center;
}
.code-space {
  line-height: 35px;
  padding-right: 14px;
  font-size: 12px;
}
.code-copy {
  margin: 0 4px;
  padding: 7px 9px;
  display: inline-block;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--theme-border-light);
  border-radius: 5px;
  background-color: var(--theme-bg-soft);
  color: var(--theme-text-light);
  font-size: 0.75em;
  transition: 0.3s;
}
@media (min-width: 769px) {
  .code-copy:hover {
    border: 1px solid var(--theme-border);
    color: var(--theme-subcolor);
    transition: 0.3s;
  }
}
@media (max-width: 768px) {
  .code-copy:active {
    border: 1px solid var(--theme-border);
    color: var(--theme-subcolor);
    transition: 0.3s;
  }
}
.code-copy.copied {
  border: 1px solid var(--theme-border);
  color: var(--theme-subcolor);
  transition: 0.3s;
}
table td {
  border: 0;
}
table code {
  padding: 0 8px 5px 8px;
  background-color: transparent !important;
}
table .gutter {
  position: sticky;
  color: var(--theme-text-rev);
  text-align: right;
  background-color: var(--theme-highlight);
  left: 0;
  padding: 0 8px 5px 8px;
}
table .gutter,
table .gutter pre,
table .gutter span {
  user-select: none;
  pointer-events: none;
}
table .code {
  width: 100%;
  background-color: var(--theme-bg-soft);
  transition: 0.3s;
}
@media (min-width: 769px) {
  table .code:hover {
    background-color: var(--theme-bg-soft-hover);
  }
}
.mermaid {
  margin: 10px 0;
  padding: 10px;
  text-align: center;
}
.MathJax {
  transform: translateZ(0);
}
header {
  pointer-events: none;
  top: 0;
  z-index: 15;
  height: 100%;
  font-family: BenderLight;
  display: inline;
  position: sticky;
}
nav {
  position: relative;
  height: 100%;
  white-space: nowrap;
  scrollbar-width: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
nav::-webkit-scrollbar {
  display: none;
}
nav::-ms-scrollbar {
  display: none;
}
nav li {
  display: block;
}
.navBlock {
  transition: unset;
  position: relative;
  height: 40px;
  line-height: 40px;
  padding: 0 12px;
  display: inline-block;
  padding: 3.75em 0;
  width: 100%;
}
.navBlock:active {
  background: unset;
}
.navBtn {
  transition: transform 0.3s;
  pointer-events: all;
  display: block;
  position: absolute;
  top: 1em;
  font-size: 2em;
  z-index: 10;
}
.navBtnIcon {
  z-index: 10;
  width: 1em;
  height: 1em;
  display: block;
  position: relative;
}
.navBtnIconBar {
  position: absolute;
  top: 50%;
  width: 1em;
  height: 0.1em;
  background-color: var(--theme-btn-bg);
  text-indent: 101%;
  white-space: nowrap;
  overflow: hidden;
  transition: transform ease-in-out 0.3s;
}
.navBtnIconBar:nth-child(1) {
  left: 0;
  transform: translate(0, -350%);
}
.navBtnIconBar:nth-child(2) {
  left: 0;
  transform: translate(0, -50%);
}
.navBtnIconBar:nth-child(3) {
  right: 0;
  transform: translate(0, 250%);
}
.expanded .navBtnIconBar:nth-child(1) {
  transform: translate(0, -50%) rotateZ(45deg) scaleX(0.5) translate(-50%);
}
.expanded .navBtnIconBar:nth-child(3) {
  transform: translate(0, -50%) rotateZ(45deg) scaleX(0.5) translate(50%);
}
.expanded .navBtnIconBar:nth-child(2) {
  transform: translate(0, -50%) rotateZ(-45deg);
}
.navContent {
  overflow: visible;
  margin: unset;
  position: relative;
  padding: 0;
  pointer-events: all;
}
.navItem {
  overflow: visible;
  position: relative;
  margin: unset;
  transition: 0.6s;
}
@media (max-width: 1023px) {
  .navItem .navItemTitle::before {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
  }
}
.navItem .navItemTitle {
  transition: 0.3s;
  width: 100%;
  overflow-wrap: break-word;
  white-space: normal;
  position: relative;
  display: block;
}
.active>:is(a,
.active .navBlock)>.navItemTitle,
.active>.navItemTitle {
  color: var(--theme-highlight);
}
.active>:is(a::before,
.active .navBlock)>.navItemTitle::before,
.active>.navItemTitle::before {
  content: "";
  display: block;
  color: var(--theme-highlight);
  border-color: var(--theme-highlight);
  width: 100%;
  position: absolute;
  left: 0;
}
.navItemList {
  overflow: visible;
  display: none;
  top: 0;
  text-align: left;
  padding: 0;
}
.navItemList .navItem {
  min-width: max-content;
  box-sizing: border-box;
  margin: 0;
}
.navItemList .navItem a {
  min-width: max-content;
  padding: 0;
  display: block;
  width: 100%;
  line-height: 40px;
}
@media (max-width: 768px) {
  header {
    left: 0;
  }
  header .navContent {
    padding-left: 0;
  }
}
@media (max-width: 1023px) {
  header {
    width: 428px;
    max-width: 100%;
    position: fixed;
  }
  nav {
    max-width: 428px;
    height: max-content;
    min-height: 100vh;
  }
  nav::before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--theme-bg-trans0);
    transform: translateX(-100%);
    transition: transform 0.6s;
    pointer-events: all;
  }
  .navBtn {
    left: 1em;
  }
  .navContent {
    overflow-y: auto;
    transform: translateX(-100%);
    width: 100%;
    transition: transform 0.6s;
  }
  .navItem {
    padding: 0.1em 4em;
  }
  .navBlock {
    box-sizing: border-box;
    align-items: flex-end;
    padding: unset;
    height: 100%;
  }
  .navBlock:hover {
    background-color: unset;
  }
  .navItemTitle {
    color: var(--theme-text-light);
    padding-bottom: 5px;
    border-bottom: 1px solid var(--theme-unimportant);
  }
  .active>:is(a,
  .navBlock)>.navItemTitle::before {
    border-color: var(--theme-highlight);
  }
  .expanded .navContent,
  .expanded nav::before {
    transform: translateX(0%);
  }
  .navItemList {
    width: 100%;
  }
  .navItemList>.navItem {
    padding-left: 1em;
    width: calc(100% - 1em);
  }
  .navItemTitle:not(:only-child)::before {
    content: '>';
    margin: 0 5px;
  }
  .expanded>.navItemList,
  .expanded>.navBlock>.navItemList {
    margin-top: 6px;
    display: block;
  }
  .expanded>.navItemList>.navItemList,
  .expanded>.navBlock>.navItemList>.navItemList {
    box-sizing: border-box;
    display: inline-block;
    width: max-content;
    min-width: 100%;
    margin: 0;
  }
  .expanded>.navItemTitle:not(:only-child)::before,
  .expanded>.navBlock>.navItemTitle:not(:only-child)::before {
    content: '▽';
    color: var(--theme-highlight);
  }
}
@media (min-width: 1024px) {
  header {
    width: 180px;
  }
  .navItem {
    width: 120px;
  }
  .navBtn {
    display: none;
  }
  .navBlock:hover {
    background-color: unset;
  }
  .navItemTitle {
    color: var(--theme-text-light);
  }
  .navItemTitle::before {
    height: 100%;
    top: 0;
    box-sizing: border-box;
  }
  .navItemList {
    width: max-content;
    min-width: 100px;
    position: absolute;
    background-color: var(--theme-bg-hover);
  }
  .navItemList .navItem {
    width: 100%;
    padding: 0;
  }
  .navItemList .navItem .navItemTitle {
    box-sizing: border-box;
    color: var(--theme-highlight);
  }
  .navItemList .navItem a:hover .navItemTitle {
    color: var(--theme-text-hover);
  }
  .navItemList .navItem:hover>.navItemTitle {
    background-color: var(--theme-highlight);
    color: var(--theme-text-hover);
  }
  .navBlock:hover,
  .navItem:hover {
    display: block;
  }
  .navBlock:hover>.navItemList,
  .navItem:hover>.navItemList {
    box-sizing: border-box;
    display: inline-block;
    width: max-content;
    min-width: 100%;
    margin: 0;
  }
}
@media (min-width: 1440px) {
  header {
    width: 240px;
  }
  .navItem {
    width: 150px;
  }
}
@media (min-width: 1920px) {
  header {
    width: 310px;
  }
}
#canvas-dust {
  z-index: -65536;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
}
@media (max-width: 1023px) {
  .hide.navBtn {
    transform: translateY(-2em);
  }
  :is(.moving,
  .up) nav {
    overflow: visible;
  }
  .moving {
    pointer-events: none;
  }
  .moving .navBtn {
    pointer-events: none;
  }
  .moving .search-header,
  .moving .search-popup {
    transition: unset;
    pointer-events: none;
  }
  .moving .navContent {
    overflow: visible;
  }
  .up .search-popup {
    left: 100vw;
    transform: translateX(0);
  }
  .up .search-popup.open {
    transform: translateX(-100%);
  }
  .up article {
    margin-top: 50px;
  }
  .up .closed .navBtn {
    transform: translateY(-0.5em);
  }
  .up .closed .navContent {
    overflow: visible;
  }
  .up #search-header {
    padding: 0.5em 2em 0 5em;
    animation: get-in-top 0.3s;
    position: absolute;
    transform: translateX(-100%);
  }
  .up #search-header input {
    animation: none;
  }
  .up .search-popup {
    top: 55px;
    height: calc(100vh - 55px);
    background-color: var(--theme-bg-trans0);
  }
  #search-header {
    top: 0;
    width: 100%;
    box-sizing: border-box;
    transform: translateX(-100%);
  }
  #search-header .navItemTitle {
    border-color: var(--theme-border-light);
  }
  .expanded #search-header {
    transition: transform 0.6s;
    transform: translateX(0);
  }
  .down.moving header:not(.expanded) #search-header {
    animation: get-out-top 0.3s;
  }
  .search-popup {
    left: 0;
    right: 0;
    transform: translateX(-100%);
  }
  .search-popup.open {
    transform: translateX(0%);
  }
}
@media (max-width: 768px) {
  .up header:not(.expanded) #search-header {
    left: 100vw;
  }
}
@media (min-width: 769px) {
@-moz-keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      transform: translate(-100%, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      position: absolute;
      transform: translate(-100%, -100%);
    }
}
@-webkit-keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      transform: translate(-100%, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      position: absolute;
      transform: translate(-100%, -100%);
    }
}
@-o-keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      transform: translate(-100%, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      position: absolute;
      transform: translate(-100%, -100%);
    }
}
@keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      transform: translate(-100%, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: calc(100vw - 238px);
      position: absolute;
      transform: translate(-100%, -100%);
    }
}
}
@media (max-width: 768px) {
@-moz-keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      transform: translate(-100%, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      position: absolute;
      transform: translate(-100%, -100%);
    }
}
@-webkit-keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      transform: translate(-100%, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      position: absolute;
      transform: translate(-100%, -100%);
    }
}
@-o-keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      transform: translate(-100%, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      position: absolute;
      transform: translate(-100%, -100%);
    }
}
@keyframes get-out-top {
    0% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      transform: translate(-100%, 0);
      position: absolute;
    }
    100% {
      padding: 0.5em 2em 0 5em;
      left: 100vw;
      position: absolute;
      transform: translate(-100%, -100%);
    }
}
}
@-moz-keyframes get-in-top {
  0% {
    padding: 0.5em 2em 0 5em;
    transform: translate(-100%, -100%);
  }
  100% {
    padding: 0.5em 2em 0 5em;
    transform: translate(-100%, 0);
  }
}
@-webkit-keyframes get-in-top {
  0% {
    padding: 0.5em 2em 0 5em;
    transform: translate(-100%, -100%);
  }
  100% {
    padding: 0.5em 2em 0 5em;
    transform: translate(-100%, 0);
  }
}
@-o-keyframes get-in-top {
  0% {
    padding: 0.5em 2em 0 5em;
    transform: translate(-100%, -100%);
  }
  100% {
    padding: 0.5em 2em 0 5em;
    transform: translate(-100%, 0);
  }
}
@keyframes get-in-top {
  0% {
    padding: 0.5em 2em 0 5em;
    transform: translate(-100%, -100%);
  }
  100% {
    padding: 0.5em 2em 0 5em;
    transform: translate(-100%, 0);
  }
}
#search-header {
  pointer-events: all;
  position: relative;
}
#search-header input {
  padding: unset;
  box-sizing: border-box;
  color: var(--theme-text-light);
  position: relative;
  font-size: 15px;
  height: 40px;
  background-color: unset;
  border: unset;
  outline: none;
  width: 100%;
}
#search-header input::placeholder {
  transition: 0.3s;
}
#search-header .navItemTitle {
  overflow: hidden;
}
#search-header .navItemTitle:hover {
  margin: unset;
}
#search-header .navItemTitle::before,
#search-header .navItemTitle::after {
  display: block;
  content: "";
  position: absolute;
}
#search-holder {
  display: none;
}
@media (min-width: 1024px) {
  #search-holder {
    height: 40px;
  }
}
@media (max-width: 1023px) {
  #search-holder {
    height: 2.82em;
  }
}
.search #search-holder {
  display: block;
}
main:not(.up) .search #search-header {
  position: absolute;
  top: 40px;
}
main:not(.up) .search #search-header input {
  animation: get-out 0.6s;
}
@media (min-width: 1024px) {
  .search-popup {
    background-color: var(--theme-bg-trans0);
  }
  #search-header .navItemTitle::before {
    z-index: -2;
  }
  #search-header .navItemTitle::after {
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    transition: 0.3s;
    z-index: -1;
    background-color: var(--theme-highlight);
  }
  #search-header .navItemTitle:hover input::placeholder {
    transition: 0.3s;
    color: var(--theme-text-hover);
  }
  #search-header .navItemTitle:hover::after {
    transition: 0.3s;
    width: 100%;
    background-color: var(--theme-highlight);
  }
}
.search-popup {
  scrollbar-width: thin;
  pointer-events: all;
  z-index: 20;
  transition: transform 0.6s;
  overflow-wrap: anywhere;
  position: fixed;
  top: 90px;
  height: calc(100vh - 90px);
  width: 32%;
  padding: 0 0 0 1px;
  overflow-y: auto;
}
@media (max-width: 1023px) {
  .search-popup {
    width: 428px;
    max-width: 100%;
  }
}
#loading {
  font-family: 'JetBrains Mono';
  display: flex;
  justify-content: center;
}
#loading div {
  display: inline-block;
}
#loading p {
  animation: 2s loading infinite steps(4, jump-none);
  overflow-wrap: normal;
  overflow: hidden;
  display: table-caption;
}
#search-result {
  width: 100%;
}
#search-result .recent-post {
  font-family: 'JetBrains Mono';
  margin: 0;
  padding: 8px;
  border: none;
  border-top: 1px solid var(--theme-border-soft);
  border-bottom: 1px solid var(--theme-border-soft);
  overflow: hidden;
}
#search-result .recent-post p {
  margin: 0.5em;
  max-height: 40px;
  white-space: initial;
  overflow: hidden;
}
#search-result .recent-post b {
  color: var(--theme-text-light);
}
#search-result .recent-post:hover .search-keyword {
  color: var(--theme-subcolor);
  transition: 0.3s;
  background-color: unset;
}
#search-result .recent-post .search-keyword {
  background-color: var(--theme-highlight);
  color: var(--theme-text-light);
}
#search-result .recent-post .search-result-title {
  font-size: 1.1em;
}
#no-result p {
  text-align: center;
}
@media (min-width: 1024px) {
  .blur article,
  .blur aside,
  .blur #canvas-dust {
    filter: blur(0.8px);
  }
}
@-moz-keyframes loading {
  0% {
    width: calc(100% - 1.5em);
  }
  100% {
    width: 100%;
  }
}
@-webkit-keyframes loading {
  0% {
    width: calc(100% - 1.5em);
  }
  100% {
    width: 100%;
  }
}
@-o-keyframes loading {
  0% {
    width: calc(100% - 1.5em);
  }
  100% {
    width: 100%;
  }
}
@keyframes loading {
  0% {
    width: calc(100% - 1.5em);
  }
  100% {
    width: 100%;
  }
}
.search .navItem:not(#search-header) {
  transform: translateX(-100%);
}
.search-popup {
  left: 0;
  transform: translateX(-100%);
}
.search-popup.open {
  transform: translateX(0);
}
@media (min-width: 769px) and (max-width: 1023px) {
  .up :is(#search-header,
  .search-popup) {
    left: calc(100vw - 238px);
  }
  :is(.up,
  .moving) header {
    clip-path: polygon(0 0, 0 100%, calc(100vw - 238px) 100%, calc(100vw - 238px) 0);
  }
}
@media (min-width: 1024px) {
  #search-header input {
    padding: 0 0 0 10px;
  }
  #search-header input::placeholder {
    text-align: right;
  }
  #search-header .navItemTitle {
    padding-right: 10px;
  }
  #search-header .navItemTitle::before {
    border-left: 4px solid var(--theme-border-light);
    left: 0;
  }
}
.loading {
  transition: opacity 0.3s;
}
.loading.loading.reset .loadingBar {
  transition: unset;
  width: 0;
}
.loading .loadingBar {
  z-index: 100;
  position: fixed;
  top: 0;
  border-bottom: 1px solid var(--theme-loadingbar);
  width: 0%;
  transition: width 0.6s;
}
.loading .loadingBar::before {
  width: 20px;
}
.loading .loadingBar::after {
  width: 1px;
}
.loading .loadingBar.left {
  left: 0;
}
.loading .loadingBar.left::before {
  box-shadow: 10px 0 15px 1px var(--theme-loadingbar);
  right: 0;
}
.loading .loadingBar.left::after {
  box-shadow: 0.5px 0 8px 2px var(--theme-loadingbar), 0.5px 0 2px 1px var(--theme-loadingbar);
  right: 0;
}
.loading .loadingBar.right {
  right: 0;
}
.loading .loadingBar.right::before {
  box-shadow: -10px 0 15px 1px var(--theme-loadingbar);
  left: 0;
}
.loading .loadingBar.right::after {
  box-shadow: -0.5px 0 8px 2px var(--theme-loadingbar), -0.5px 0 2px 1px var(--theme-loadingbar);
  left: 0;
}
.loadingBar::before,
.loadingBar::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  height: 1px;
  transition: box-shadow 0.3s 0.1s;
}
.pjax-out {
  pointer-events: none;
  position: absolute !important;
  animation: 0.6s pjax-animate-out;
}
.pjax-in {
  pointer-events: none;
  position: absolute !important;
  animation: 0.6s pjax-animate-in;
}
:is(#paginator,
.bottom-btn):is(.pjax-in,
.pjax-out) {
  visibility: hidden;
  pointer-events: none;
}
@-moz-keyframes pjax-animate-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes pjax-animate-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes pjax-animate-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes pjax-animate-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes pjax-animate-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes pjax-animate-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-o-keyframes pjax-animate-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes pjax-animate-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
:root[theme-mode=dark] .mermaid {
  font-family: "trebuchet ms", verdana, arial, sans-serif;
  font-size: 16px;
  fill: #ccc;
}
:root[theme-mode=dark] .mermaid .error-icon {
  fill: #a44141;
}
:root[theme-mode=dark] .mermaid .error-text {
  fill: #ddd;
  stroke: #ddd;
}
:root[theme-mode=dark] .mermaid .edge-thickness-normal {
  stroke-width: 2px;
}
:root[theme-mode=dark] .mermaid .edge-thickness-thick {
  stroke-width: 3.5px;
}
:root[theme-mode=dark] .mermaid .edge-pattern-solid {
  stroke-dasharray: 0;
}
:root[theme-mode=dark] .mermaid .edge-pattern-dashed {
  stroke-dasharray: 3;
}
:root[theme-mode=dark] .mermaid .edge-pattern-dotted {
  stroke-dasharray: 2;
}
:root[theme-mode=dark] .mermaid .marker {
  fill: #d3d3d3;
  stroke: #d3d3d3;
}
:root[theme-mode=dark] .mermaid .marker.cross {
  stroke: #d3d3d3;
}
:root[theme-mode=dark] .mermaid svg {
  font-size: 16px;
}
:root[theme-mode=dark] .mermaid .label {
  color: #ccc;
}
:root[theme-mode=dark] .mermaid .cluster-label text {
  fill: #f9fffe;
}
:root[theme-mode=dark] .mermaid .cluster-label span {
  color: #f9fffe;
}
:root[theme-mode=dark] .mermaid .label text,
:root[theme-mode=dark] .mermaid span {
  fill: #ccc;
  color: #ccc;
}
:root[theme-mode=dark] .mermaid .node :is(rect,
:root[theme-mode=dark] .mermaid circle,
:root[theme-mode=dark] .mermaid ellipse,
:root[theme-mode=dark] .mermaid polygon,
:root[theme-mode=dark] .mermaid path) {
  fill: #1f2020;
  stroke: #81b1db;
  stroke-width: 1px;
}
:root[theme-mode=dark] .mermaid .node .label {
  text-align: center;
}
:root[theme-mode=dark] .mermaid .node.clickable {
  cursor: pointer;
}
:root[theme-mode=dark] .mermaid .arrowheadPath {
  fill: #d3d3d3;
}
:root[theme-mode=dark] .mermaid .edgePath .path {
  stroke: #d3d3d3;
  stroke-width: 2px;
}
:root[theme-mode=dark] .mermaid .flowchart-link {
  stroke: #d3d3d3;
  fill: none;
}
:root[theme-mode=dark] .mermaid .edgeLabel {
  background-color: #585858;
  text-align: center;
}
:root[theme-mode=dark] .mermaid .edgeLabel rect {
  opacity: 0.5;
  background-color: #585858;
  fill: #585858;
}
:root[theme-mode=dark] .mermaid .cluster rect {
  fill: #474949;
  stroke: rgba(255,255,255,0.25);
  stroke-width: 1px;
}
:root[theme-mode=dark] .mermaid .cluster text {
  fill: #f9fffe;
}
:root[theme-mode=dark] .mermaid .cluster span {
  color: #f9fffe;
}
:root[theme-mode=dark] .mermaid .mermaidTooltip {
  position: absolute;
  text-align: center;
  max-width: 200px;
  padding: 2px;
  font-family: "trebuchet ms", verdana, arial, sans-serif;
  font-size: 12px;
  background: #201f1f;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 2px;
  pointer-events: none;
  z-index: 100;
}
:root[theme-mode=light] .mermaid {
  font-family: "trebuchet ms", verdana, arial, sans-serif;
  font-size: 16px;
  fill: #000;
}
:root[theme-mode=light] .mermaid .error-icon {
  fill: #522;
}
:root[theme-mode=light] .mermaid .error-text {
  fill: #522;
  stroke: #522;
}
:root[theme-mode=light] .mermaid .edge-thickness-normal {
  stroke-width: 2px;
}
:root[theme-mode=light] .mermaid .edge-thickness-thick {
  stroke-width: 3.5px;
}
:root[theme-mode=light] .mermaid .edge-pattern-solid {
  stroke-dasharray: 0;
}
:root[theme-mode=light] .mermaid .edge-pattern-dashed {
  stroke-dasharray: 3;
}
:root[theme-mode=light] .mermaid .edge-pattern-dotted {
  stroke-dasharray: 2;
}
:root[theme-mode=light] .mermaid .marker {
  fill: #666;
  stroke: #666;
}
:root[theme-mode=light] .mermaid .marker.cross {
  stroke: #666;
}
:root[theme-mode=light] .mermaid svg {
  font-size: 16px;
}
:root[theme-mode=light] .mermaid .label {
  color: #000;
}
:root[theme-mode=light] .mermaid .cluster-label text {
  fill: #333;
}
:root[theme-mode=light] .mermaid .cluster-label span {
  color: #333;
}
:root[theme-mode=light] .mermaid .label text,
:root[theme-mode=light] .mermaid span {
  fill: #000;
  color: #000;
}
:root[theme-mode=light] .mermaid .node :is(rect,
:root[theme-mode=light] .mermaid circle,
:root[theme-mode=light] .mermaid ellipse,
:root[theme-mode=light] .mermaid polygon,
:root[theme-mode=light] .mermaid path) {
  fill: #eee;
  stroke: #999;
  stroke-width: 1px;
}
:root[theme-mode=light] .mermaid .node .label {
  text-align: center;
}
:root[theme-mode=light] .mermaid .arrowheadPath {
  fill: #333;
}
:root[theme-mode=light] .mermaid .edgePath .path {
  stroke: #666;
  stroke-width: 2px;
}
:root[theme-mode=light] .mermaid .flowchart-link {
  stroke: #666;
  fill: none;
}
:root[theme-mode=light] .mermaid .edgeLabel {
  background-color: #fff;
  text-align: center;
}
:root[theme-mode=light] .mermaid .edgeLabel rect {
  opacity: 0.5;
  background-color: #fff;
  fill: #fff;
}
:root[theme-mode=light] .mermaid .cluster rect {
  fill: #fcfcfc;
  stroke: #707070;
  stroke-width: 1px;
}
:root[theme-mode=light] .mermaid .cluster text {
  fill: #333;
}
:root[theme-mode=light] .mermaid .cluster span {
  color: #333;
}
:root[theme-mode=light] .mermaid .mermaidTooltip {
  position: absolute;
  text-align: center;
  max-width: 200px;
  padding: 2px;
  font-size: 12px;
  background: #eee;
  border: 1px solid #707070;
  border-radius: 2px;
  pointer-events: none;
  z-index: 100;
}
:is(.lg-container.lg-container.lg-container,
.lg-container.lg-container.lg-container .lg-object,
.lg-container.lg-container.lg-container .lg-next,
.lg-container.lg-container.lg-container .lg-prev,
.lg-container.lg-container.lg-container .lg-thumb-item,
.lg-container.lg-container.lg-container .lg-icon) {
  cursor: var(--dark-cursor) 3 3, grab;
}
@media (min-width: 769px) {
  header {
    left: 0;
  }
  aside {
    right: 0;
  }
}
@media (min-width: 992px, max-width 1919px) {
  aside {
    padding: 0 25px 0 15px;
  }
}
@media (min-width: 1024px) {
  .navContent {
    transform: unset;
  }
  .navItem {
    padding-left: 1.2em;
  }
  .navBlock {
    text-align: right;
  }
  .navBlock .navItemTitle::before {
    border-left: 4px solid;
    left: 0;
  }
  .navContent:not(.search) .navBlock::before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 2em;
  }
  .navContent:not(.search) .navBlock:hover>.navItemTitle {
    margin-left: 1em;
  }
  .navContent:not(.search) .navBlock>.navItemList {
    left: calc(100% + 2em);
  }
  .navItemList {
    left: 100%;
  }
  .navItemList .navItem {
    padding-right: 1px;
  }
  .navItemList .navItemTitle {
    padding-left: 0.8em;
    padding-right: 0.5em;
  }
  .navItemList>.navItem>.navItemTitle:hover {
    padding-left: 1.8em;
  }
}
@media (min-width: 1440px) {
  .navItem {
    padding-left: 2.25em;
  }
  aside {
    margin-left: 10px;
  }
}
@media (min-width: 1920px) {
  .navItem {
    padding-left: 5.25em;
  }
  aside {
    margin: 0 2.5%;
  }
}
@media (max-width: 768px) {
  main {
    padding: 0 12px;
  }
  article {
    border: none;
    width: 100%;
    max-height: none;
  }
  article #post-bg {
    margin: 0;
    padding: 10px 10px 0 10px;
  }
  .highlight,
  blockquote {
    margin: 1em 0;
  }
  aside {
    position: static;
    width: 100%;
    height: auto;
    padding: 0;
  }
  aside h1 {
    font-size: xx-large;
    text-align: center;
    margin: 0;
  }
  aside footer {
    text-align: center;
    padding: 10px 0;
    position: static;
  }
  #paginator {
    margin: 20px 0 0 0;
  }
  #paginator a,
  #paginator span {
    margin: 5px 5px 0 0;
  }
  #post-index {
    margin: 0;
  }
  #logo {
    height: 0;
    margin: 0;
  }
  #logo img {
    opacity: 0.05;
    position: fixed;
    bottom: -50px;
    left: -46%;
    pointer-events: none;
  }
  #total {
    text-align: center;
    margin: 0;
  }
  #total .total-title {
    font-size: medium;
  }
  #total .total-number {
    font-size: large;
  }
  #total-archives {
    width: auto;
  }
  #total-archives .total-title {
    display: inline-block;
  }
  #to-index {
    bottom: 56px;
  }
  #to-top {
    bottom: 16px;
  }
  #post-index {
    margin: 16px 10px 0 10px;
  }
  #archive-flex {
    flex-direction: column;
  }
  #archive-aside {
    order: 1;
  }
  #Categories {
    margin: 10px;
  }
  #cursor-container {
    display: none;
  }
  #Archives {
    margin: 0;
  }
  #Archives time {
    color: var(--theme-text-light);
    padding: 0;
  }
  #Archives .control {
    width: 55px;
  }
}
@media (min-width: 769px) {
  main {
    display: flex;
    justify-content: space-evenly;
  }
  article {
    width: calc(95% - 212px);
  }
  #to-index {
    display: none;
  }
  aside {
    top: 0;
    width: 170px;
  }
  aside h1 {
    font-size: xx-large;
  }
  aside a img {
    transition: background-color 1s;
  }
  aside a img:hover {
    background-color: var(--theme-bg-soft-hover);
  }
  #description p {
    font-size: small;
  }
  #archive-aside {
    position: sticky;
    max-width: 36%;
  }
}
@media (min-width: 1024px) {
  article {
    width: calc(100% - 412px);
  }
  aside {
    width: 190px;
  }
  aside h1 {
    font-size: 45px;
  }
  #description p {
    font-size: medium;
  }
}
@media (min-width: 1440px) {
  article {
    width: calc(100% - 520px);
  }
  aside {
    width: 230px;
  }
  aside h1 {
    font-size: 50px;
  }
  #total-archives .total-title {
    font-size: 36px;
  }
  #total-archives .total-number {
    font-size: 48px;
  }
  #total-tags,
  #total-categories {
    font-size: 23px;
  }
  .recent-post img {
    width: 90%;
    margin: 0 auto;
    display: block;
    position: relative;
  }
}
@media (min-width: 1920px) {
  article {
    width: calc(95% - 630px);
  }
  aside {
    width: 270px;
  }
  aside h1 {
    font-size: 55px;
  }
  #total-archives .total-title {
    font-size: 37px;
  }
  #total-archives .total-number {
    font-size: 48px;
  }
  #total-tags,
  #total-categories {
    font-size: 28px;
  }
  .search-pop-overlay .popup {
    left: 65%;
  }
  .recent-post img {
    width: 80%;
  }
}
#archive-flex {
  width: 100%;
  height: fit-content;
  min-height: 600px;
  box-sizing: border-box;
  display: flex;
  justify-content: stretch;
  position: relative;
}
#archive-aside {
  scrollbar-width: none;
  padding-bottom: 30px;
  overflow: auto;
  box-sizing: border-box;
  padding-top: 10px;
  top: 0;
  height: fit-content;
  max-height: 100vh;
  display: flex;
  order: -1;
  flex-grow: 1;
  flex-direction: column;
}
#archive-aside::-webkit-scrollbar {
  display: none;
}
#archive-aside::-ms-scrollbar {
  display: none;
}
#Archives,
#Categories,
#Tags {
  margin: 0 10px;
  background-color: var(--theme-bg-trans1);
  overflow-y: auto;
}
#Archives,
#Categories,
#Tags,
#Archives h1,
#Categories h1,
#Tags h1 {
  transition: 0.3s;
}
#Archives h1,
#Categories h1,
#Tags h1 {
  margin: 0;
  padding: 0 15px;
  color: var(--theme-text-rev);
  background-color: var(--theme-bg-light);
  font-size: medium;
  font-family: BenderLight;
}
@media (min-width: 769px) {
  #Archives:hover,
  #Categories:hover,
  #Tags:hover,
  #Archives:target,
  #Categories:target,
  #Tags:target {
    background-color: var(--theme-bg-soft);
  }
  #Archives:hover h1,
  #Categories:hover h1,
  #Tags:hover h1,
  #Archives:target h1,
  #Categories:target h1,
  #Tags:target h1 {
    background-color: var(--theme-highlight);
  }
}
#Archives {
  margin-bottom: 30px;
  padding-top: 10px;
  min-height: calc(100vh - 40px);
  flex-grow: 5;
  position: relative;
}
#Archives h2 {
  margin: 10px 0;
  font-size: large;
}
#Archives h2:before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 15px;
  margin-right: 5px;
  background-color: var(--theme-subcolor);
}
#Archives time {
  color: var(--theme-text-light);
  padding: 0 0 0 20px;
}
.categories,
.tags {
  display: inline-block;
}
#Archives-bg {
  box-sizing: border-box;
  padding: 10px;
  padding-bottom: 30px;
}
.article-item {
  position: relative;
  margin-bottom: 15px;
}
.article-item::after {
  content: '';
  width: calc(100% - 30px);
  position: absolute;
  display: block;
  bottom: -5px;
  left: 15px;
  border-bottom: 1px var(--theme-unimportant-trans) solid;
}
#Categories {
  height: fit-content;
  overflow: visible;
  height: 50%;
  flex-grow: 1;
  margin-bottom: 20px;
}
#Tags {
  height: fit-content;
  overflow: visible;
  height: 100%;
  flex-grow: 1;
}
#navigation a {
  width: 100%;
  display: inline-block;
  padding: 6px 0;
  font-size: x-large;
  font-weight: 900;
  font-family: BenderLight;
  text-align: center;
}
.control-archive {
  width: 75px;
  display: inline-block;
}
main {
  height: 100vh;
  width: 100vw;
  overflow: auto;
  overflow: overlay;
  box-sizing: border-box;
}
article {
  transition: margin 0.3s;
  box-sizing: border-box;
  position: relative;
  min-height: calc(100vh - 10px);
  height: fit-content;
  min-width: 1px;
}
article #post-content p,
article .recent-excerpt p {
  line-height: 150%;
}
.posts {
  margin-top: 10px;
  padding-bottom: 72px;
  width: 100%;
  min-height: calc(100vh - 82px);
}
@media (max-width: 768px) {
  .posts {
    padding-bottom: 4em;
  }
}
.recent-post {
  color: var(--theme-unimportant);
  display: block;
  margin-bottom: -1px;
  border: 1px solid var(--theme-unimportant);
  padding: 13px 15px;
  transition: 0.3s;
}
.recent-post .recent-info::after {
  transition: 0.3s;
}
.recent-post .categories,
.recent-post .tags {
  font-family: BenderLight, sans-serif;
}
.recent-post .categories {
  color: var(--theme-highlight);
  font-size: large;
  font-weight: bold;
  padding: 0 10px 0 0;
}
.recent-post .tags {
  font-size: small;
}
.recent-post .tags span {
  display: inline-block;
  padding: 0 5px 0 0;
}
.recent-post time {
  color: var(--theme-unimportant);
  display: inline-block;
  text-align: left;
  float: right;
}
.recent-post hr {
  color: var(--theme-unimportant);
  border-color: var(--theme-unimportant);
}
.recent-post img {
  width: 100%;
}
.recent-post h1 {
  font-family: sans-serif;
  color: var(--theme-text-light);
  margin: 0;
  padding: 15px 0 0 0;
}
@media (min-width: 769px) {
  .recent-post:hover {
    color: var(--theme-text-hover);
    background-color: var(--theme-highlight);
  }
  .recent-post:hover a {
    color: var(--theme-text-hover);
  }
  .recent-post:hover a:active {
    color: var(--theme-text-hover);
  }
  .recent-post:hover a:hover {
    color: var(--theme-text-light);
  }
  .recent-post:hover time,
  .recent-post:hover .categories {
    color: var(--theme-text-hover);
  }
  .recent-post:hover .recent-info::after {
    background-color: var(--theme-bg-hover);
  }
  .recent-post:hover .recent-excerpt a {
    color: var(--theme-text-light);
  }
  .recent-post:hover hr {
    color: var(--theme-highlight);
    border-color: var(--theme-highlight);
  }
  .recent-post:hover figure table .gutter {
    background-color: var(--theme-border);
  }
  .recent-post:hover figure table .code {
    background-color: var(--theme-bg-trans1);
  }
  .recent-post:hover figure table .code,
  .recent-post:hover figure table .code:hover {
    color: var(--theme-text-light);
  }
  .recent-post:hover blockquote,
  .recent-post:hover blockquote:hover {
    color: var(--theme-text-light);
    border-color: var(--theme-border);
    background-color: var(--theme-bg-trans1);
  }
  .recent-post:hover .read-more {
    color: var(--theme-text-light);
    background-color: var(--theme-bg-hover);
  }
}
.recent-info {
  min-height: 25px;
}
.recent-info:after {
  content: '';
  width: 13%;
  display: block;
  height: 5px;
  background-color: var(--theme-highlight);
  position: relative;
  bottom: -6px;
}
.recent-excerpt {
  margin: 12px 0 28px 0;
}
.read-more {
  color: var(--theme-background);
  display: block;
  float: right;
  font-size: smaller;
  font-weight: 600;
  background-color: var(--theme-highlight);
  margin-top: -21px;
  padding: 3px 10px 3px 40px;
  font-family: BenderLight;
}
#paginator {
  width: 100%;
  user-select: none;
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: absolute;
  bottom: 0;
  left: 0;
}
#paginator a,
#paginator span {
  color: var(--theme-text-light);
  font-weight: bold;
  margin: 0 10px 0 0;
  border: 1px solid var(--theme-highlight);
  padding: 5px 10px;
}
#paginator a:last-child,
#paginator span:last-child {
  margin: 0;
}
@media (min-width: 769px) {
  #paginator a:hover {
    color: var(--theme-text-hover);
    background-color: var(--theme-highlight);
  }
}
#paginator .current {
  color: var(--theme-text-hover);
  background-color: var(--theme-highlight);
}
.category-list,
.tag-list {
  list-style: none;
  display: block;
  margin: 0;
}
.category-list {
  padding: 0;
}
.category-list-item {
  position: relative;
}
@media (min-width: 769px) {
  .category-list-item:hover a {
    color: var(--theme-highlight);
    border-left: var(--theme-highlight) solid 5px;
    background-color: var(--theme-bg-soft-hover);
  }
  .category-list-item:hover span {
    color: var(--theme-text-light);
  }
}
.category-list-link {
  width: 100%;
  padding: 6px 40% 6px 10px;
  display: inline-block;
  box-sizing: border-box;
}
.category-list-link:before,
.category-list-link:after {
  color: var(--theme-highlight);
  content: '#';
  padding: 0 5px;
}
.category-list-count {
  padding: 6px 10px;
  position: absolute;
  right: 0;
}
#post-content h1,
#post-content h2,
#post-content h3,
#post-content h4,
#post-content h5,
#post-content h6 {
  border-bottom: var(--theme-unimportant-trans) solid 1px;
  display: flex;
}
#post-content h1 {
  font-size: 1.75em;
}
#post-content h2 {
  font-size: 1.6em;
}
#post-content h3 {
  font-size: 1.45em;
}
#post-content h4 {
  font-size: 1.3em;
}
#post-content h5 {
  font-size: 1.15em;
}
#post-content h6 {
  font-size: 1em;
}
#post-bg {
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 20px 30px;
  background-color: var(--theme-bg-trans1);
  overflow-x: auto;
  min-height: calc(100vh - 20px);
}
#post-bg img {
  max-width: 100%;
}
#post-title {
  flex-wrap: wrap;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
#post-title h1 {
  display: inline-block;
  font-size: 2em;
}
#post-title hr {
  color: var(--theme-unimportant-2);
  position: relative;
}
#post-title hr:before {
  content: '';
  width: 13%;
  height: 3px;
  display: block;
  position: absolute;
  background-color: var(--theme-text-light);
  top: -3px;
  left: -1px;
}
#post-info {
  text-align: right;
}
#post-info time {
  color: var(--theme-highlight);
  font-weight: 900;
}
#post-info .control {
  text-align: left;
  display: inline-block;
  width: 90px;
}
#post-source span {
  color: var(--theme-subcolor);
  background-color: var(--theme-unimportant-2);
}
#post-content {
  margin-bottom: 1em;
}
#post-content table {
  width: 100%;
}
#post-content .footnote-ref:before {
  content: '';
  display: inline-block;
  margin-top: -60px;
  width: 1px;
  height: 60px;
  visibility: hidden;
}
#post-content .footnotes li:before {
  content: '';
  display: block;
  margin-top: -60px;
  height: 60px;
  visibility: hidden;
}
#post-content .headerlink {
  background-color: var(--theme-highlight);
  margin: 5px 7px 5px 0;
}
#post-content h1:target a,
#post-content h2:target a {
  background-color: var(--theme-subcolor);
}
#post-content h1 .headerlink,
#post-content h2 .headerlink {
  padding: 0 0 0 6px;
}
#post-content h3:target a,
#post-content h4:target a,
#post-content h5:target a,
#post-content h6:target a {
  background-color: var(--theme-subcolor);
}
#post-content h3 .headerlink,
#post-content h4 .headerlink,
#post-content h5 .headerlink,
#post-content h6 .headerlink {
  padding: 0 0 0 5px;
}
#post-footer hr {
  border-color: var(--theme-border);
}
#reward {
  margin: 1em 0;
  color: var(--theme-text-rev);
  text-align: center;
  background-color: var(--theme-bg-soft);
}
#reward:hover {
  background-color: var(--theme-bg-soft-hover);
}
#reward summary {
  background-color: var(--theme-subcolor);
}
#reward div {
  width: 45%;
  margin: 0;
  padding: 20px 0;
  display: inline-block;
}
#reward span {
  color: var(--theme-highlight);
  padding-right: 10px;
}
#reward img {
  width: 80%;
  max-width: 280px;
  padding: 0 20px;
}
#toc-div .toc {
  margin: 0;
  padding: 10px;
  list-style: none;
}
#toc-div .toc-child {
  display: none;
  padding-left: 1em;
  list-style: none;
}
#toc-div .toc-item {
  white-space: nowrap;
  overflow: hidden;
  margin: 2px 0;
}
#toc-div .has-active {
  display: block;
}
#toc-div .toc-link {
  width: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  display: inline-block;
}
#toc-div .toc-link::-webkit-scrollbar {
  display: none;
}
#toc-div .toc-link::-ms-scrollbar {
  display: none;
}
@media (min-width: 769px) {
  #toc-div .toc-link:hover .toc-number {
    display: none;
  }
}
@media (min-width: 769px) {
  #toc-div .active {
    color: var(--theme-text-hover);
    background-color: var(--theme-highlight);
  }
  #toc-div .active .toc-number {
    display: none;
  }
}
#pages {
  padding: 5px;
  display: flex;
  justify-content: center;
  border-top: var(--theme-border) solid 2px;
  border-bottom: var(--theme-border) solid 2px;
}
.footer-link {
  padding: 5px;
  width: 50%;
  align-self: center;
  height: 100%;
  position: relative;
}
.tag-list {
  padding: 10px;
}
.tag-list-item {
  position: relative;
  line-height: 23px;
  background-color: var(--theme-tag-bg);
  display: inline-block;
  margin: 5px;
  border: var(--theme-tag-border) solid 1px;
  border-radius: 3px;
}
.tag-list-item,
.tag-list-item a,
.tag-list-item span {
  transition: 0.3s;
}
@media (min-width: 769px) {
  .tag-list-item:hover {
    border-color: var(--theme-highlight);
  }
  .tag-list-item:hover a {
    color: var(--theme-text-hover);
    background-color: var(--theme-highlight);
  }
  .tag-list-item:hover span {
    background-color: var(--theme-tag-bg);
  }
  .tag-list-item:active {
    border-color: var(--theme-border);
  }
  .tag-list-item:active a {
    background-color: var(--theme-subcolor);
  }
}
.tag-list-link {
  color: var(--theme-text-light);
  padding: 3px 6px 3px 12px;
  display: table-cell;
  box-sizing: border-box;
}
.tag-list-link::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.tag-list-count {
  width: 10px;
  padding: 3px 6px;
  color: var(--theme-text-light);
  background-color: var(--theme-tag-count-bg);
  display: table-cell;
  pointer-events: none;
  vertical-align: middle;
}
